const http=require("http")
const server=http.createServer()
server.on("request",function (req,res){
console.log("服务器访问成功");

})
server.listen('8080',function () {
    console.log("服务器启动成功：http://127.0.01:8080");
    
})